﻿using System;
using System.Collections.Generic;

using System.Text;
using Microsoft.Xna.Framework.Content;

namespace RebellionII.GameObjects.Other
{
    [Flags]
    public enum ResearchType
    {
        ConstructionCost,
        MaintenanceCost,
        Attack,
        Shield,
        Hull,
        SublightSpeed,
        HyperDriveSpeed,
        Defense,
        Design,
        Null
    }



    public class Research
    {
        [ContentSerializer]
        public int iUniqueID { get; set; }
        [ContentSerializer]
        ResearchType eType { get; set; }
        [ContentSerializer]
        int iUnitAffected { get; set; }
        [ContentSerializer]
        public TeamName TheTeam { get; set; }
        [ContentSerializer]
        int iResearchDone { get; set;}
        [ContentSerializer]
        int iResearchRequired { get; set; }
        [ContentSerializer]
        bool bIsCompleted { get; set; }


        [ContentSerializer]
        List<int> lUnlocksIDs { get; set; }

        public Research()
        {

        }

    }
}
